bin/remote: don't load repo on root command
authorJonathan Lebon <jlebon@redhat.com>
Mon, 11 Sep 2017 21:06:30 +0000 (21:06 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 13 Sep 2017 14:32:20 +0000 (14:32 +0000)
commit4cc813133c5aa074d2d2664fb57b9edb74c610c8
treed1f2e52aed029844982622b33726cc73d1f34e58
parent4c02fc2daa7c433c095b1757d630836d75b974db
bin/remote: don't load repo on root command

Subcommands will demand a repo argument themselves. This allows one to
call `ostree remote` and get the "No subcommand" error rather than the
"Missing --repo" error.

Closes: #1126
Approved by: cgwalters
src/ostree/ot-builtin-remote.c